# -*- coding: utf-8 -*-


import pytest, os

from common import send_port

# os.system('allure open -h 127.0.0.1 -p 8883 ./report/html/')

from report.send_linux.ssh_linux import send_linux

if __name__ == '__main__':
    pytest.main()
    os.system("allure generate ./report/xml -o ./report/allure-report --clean")
    send_port.send_port_email()  # 向指定邮箱地址 发送测试报告
    send_linux()  # 向钉钉发送测试报告通知，报告文件放在指定的linux里面
